]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
calendar: Do not left-align bodyStack
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 10 Mar 2015 21:30:35 +0000 (22:30 +0100)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 11 Mar 2015 00:23:02 +0000 (01:23 +0100)
It's its contents that should be aligned, the stack itself should
fill the available width.

js/ui/calendar.js

index cb63d6aae5a401ed9f6bb31e10162d73c4092385..7345ae0068fa4104841664d25bd7c6958fb59891 100644 (file)
@@ -1008,8 +1008,7 @@ const Message = new Lang.Class({
         this._closeButton = new St.Button({ child: closeIcon, visible: false });
         titleBox.add_actor(this._closeButton);
 
-        this._bodyStack = new St.Widget({ x_expand: true,
-                                          x_align: Clutter.ActorAlign.START });
+        this._bodyStack = new St.Widget({ x_expand: true });
         this._bodyStack.layout_manager = new LabelExpanderLayout();
         contentBox.add_actor(this._bodyStack);